package so.sao.dao;


import org.apache.ibatis.annotations.Param;
import so.sao.domain.TbOrder;

import java.util.List;

public interface TbOrderMapper {
    int deleteByPrimaryKey(String order_id);

    int insert(TbOrder record);

    int insertSelective(TbOrder record);

    TbOrder selectByPrimaryKey(String order_id);

    int updateByPrimaryKeySelective(TbOrder record);

    int updateByPrimaryKey(TbOrder record);

    List<TbOrder> findAll();

    List<TbOrder> getOrderListByStatus(String status);

    int updateOrderStatus(@Param("status") String status,@Param("orderId") String orderId);
}